<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<jsp:include page="../head.jsp">
<jsp:param value="查看客户所有跟进记录" name="title"/>
</jsp:include>
</head>
<body>
	<div class="container">
		<div class="row">
			<div id="content" class="col-lg-12">
				<div class = "dao">		
					<a class="section" href = "manager">客户跟进</a>
					<i class="right chevron icon divider"></i>
					<a class="section" href = "cust/form">客户管理</a>
					<i class="right chevron icon divider"></i>
					<span class="active section">查看跟进记录</span>							
				</div>
				<c:if test="${ times == 0 }">
					<div>暂未记录</div>
				</c:if>
				<c:if test="${ times != 0 }">
					<div class = "content">
						<form  method="post" class="ui form create-form">
							<div class="two fields">
								<div class="field">
									<label>姓名</label> 
									<input name="custName" readonly="readonly" type="text" value="${name }"  >
								</div>
								<div class="field">
									<label>跟进次数</label>
										<input type="text" readonly="readonly" name="times" value="${ times }">
								</div>
							</div>
							<c:forEach items="${ listFo }" var="list">
								<div class="ui piled segment">
								  <h4 class="ui header">跟进时间：${list.follow_data }</h4>
								  <span style="font:bold 13px '宋体';color:#191919;">跟进方式：${list.way_name }</span><span style="margin:0px 0px 0px 60px;font:bold 13px '宋体';color:#191919;">跟进人：${ list.emp_name }</span>
								  <h4 class="ui header">跟进内容：</h4>
								  <p style="font:16px '微软雅黑';color:black;text-indent:2em;">${ list.follow_situation }</p>
								</div>
							</c:forEach>
						  <button class="ui button" type="button" onclick="window.location.href='cust/form'">返回</button>
						</form>
					</div>
				</c:if>
		</div>
		</div>
	</div>
</div>
</body>
</html>